<?php
$all_news = $news->getNews();
if (!empty($all_news)) {
    foreach ($all_news as $k => $v) {
        ?>
        <tr>
            <td><?=$v['title']?></td>
            <td><?=nl2br($v['description'])?></td>
            <td><?=$v['category']?></td>
            <td><a href="#"><?=$v['source']?></a></td>
            <td><?=date("d-m-Y H-i-s", $v['datetime'])?></td>
            <td><a href="<?=$_SERVER['PHP_SELF']?>?del=<?=$v['id']?>">Delete</a></td>
        </tr>
    <?php
    }
} else {
    echo "<div>Нет ни одной новости !</div>";
}
?>